From ed3d710e8517fed5d20557805f2a1321987b2e1e Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Tue, 26 Sep 2006 19:50:07 +0100 Subject: [PATCH] [HVM][VNC] Fix typo. Signed-off-by: Steven Smith --- tools/ioemu/vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ioemu/vnc.c b/tools/ioemu/vnc.c index f5581c2342..0fd6297916 100644 --- a/tools/ioemu/vnc.c +++ b/tools/ioemu/vnc.c @@ -1132,7 +1132,7 @@ static int protocol_client_msg(VncState *vs, char *data, size_t len) uint32_t v; v = read_u32(data, 4); if (v) - return 8 + 4; + return 8 + v; } client_cut_text(vs, read_u32(data, 4), data + 8); -- 2.30.2